#ifndef VALUERESULT_H
#define VALUERESULT_H

#include <QVariant>
#include "abstract-result.h"

class ValueResult : public AbstractResult
{
    Q_OBJECT
public:
    explicit ValueResult(QObject *parent = 0);

    QVariant value() const;

public slots:
    void setValue (const QVariant& value);

signals:
    void resultReady (ValueResult* result);

protected:
    void emitResultReady();

    QVariant m_value;
};

#endif // VALUERESULT_H
